package org.chw.cloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 */
@SpringBootApplication
@EnableEurekaClient
@ComponentScan({"org.chw.rest", "org.chw.indicator", "org.chw.handler"})
public class ProducerApp {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ProducerApp.class).web(true).run(args);
    }
}
